package com.copa.module.user.domain.dto;

import com.copa.module.user.domain.entity.UserEntity;
import com.copa.module.user.domain.entity.RoleEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author copa
 * @createDate 2021-01-05 15:08
 * @function
 */
@Data
@Accessors(chain = true)
public class UserLoginDTO {

    @ApiModelProperty("用户信息")
    private UserEntity user;

    @ApiModelProperty("角色信息")
    private RoleEntity role;

    @ApiModelProperty("token码")
    private String token;
}
